package service;

import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.Page;

/**
 * Created by ykj on 16/1/8.
 * 后台数据统一管理接口
 */
public interface IBackDataService {
    Page findByPage(int page, int pageSize);
    Model save(Model model);
    Model update(Model model);
    boolean delete(int id);
    Model findById(int id);
}
